import './assets/main.css'

// import 'bootstrap/dist/css/bootstrap.min.css'
import './assets/css/iconfont.css'
import './assets/iconfont.js'
import "element-plus/theme-chalk/el-message-box.css";
import '@/assets/css/theme.css'
import '@/assets/vendors/prism/prism.css'
import axiosPlugin from '@/plugins/axiosPlugin'; // 引入插件


import * as ElementPlusIconsVue from '@element-plus/icons-vue'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

const app = createApp(App)


for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}

app.use(createPinia())
app.use(router)
app.use(axiosPlugin)

app.mount('#app')
